var mongoose = require('mongoose')
var Schema = mongoose.Schema

var productSchema = new Schema({
  "productId": String,
  "productName": String,
  "salePrice": Number,
  "productImage": String,
  "productNum": String,
  "checked": String
})
// ===========================坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑坑======================================
// 这里必须是Good 而不能是Goods（会查不到数据）,只有Good才能匹配到数据库中的goods集合
module.exports = mongoose.model('Good', productSchema)